package com.bookseek.xreader.utils;

import android.util.Log;

import com.bookseek.xreader.consts.XreaderConts;

import java.util.stream.Collectors;
import java.util.stream.Stream;

public class DLog {
    public static void info(Object ... msgs){
        Log.i(XreaderConts.TAG,String.join(" ", Stream.of(msgs).map(d->d != null ? d.toString() : "").collect(Collectors.toList())));
    }
    public static void error(Object ... msgs){
        Log.e(XreaderConts.TAG,String.join(" ", Stream.of(msgs).map(d->d != null ? d.toString() : "").collect(Collectors.toList())));
    }
}
